<?php
ob_start();
$fechade = $_REQUEST['fecini'];
$fechaa  = $_REQUEST['fecfin'];;
$nomnotaria = " ";

?>
<page backtop="40mm" backbottom="7mm" backleft="10mm" backright="10mm">
 		<page_header>
        
        <div><div id="logo_emp"><?php echo $nomnotaria ?></div> <!--<div id="fec_actual">Fecha: <?php echo $fec=date("d/m/Y H:m:s"); ?></div>--></div>        
        <p align="center">  <br><br>
             <strong>INDICE CRONOLOGICO DE CARTAS</strong></p>
        <p align="center"><strong>Listado del <?php echo $fechade ?> al <?php echo $fechaa ?></strong></p>

        <TABLE  BORDER=1 CELLSPACING=0 CELLPADDING=0 align="center">    
               <TR>
               <TD width="70" height="19">Numero</TD>
               <TD width="86">Fec. Ingr.</TD>
               <TD width="86">Fec. Dilig.</TD>
               <TD width="93">Zona</TD>
               <TD width="171">&nbsp; Remitente</TD>
               <TD width="275">&nbsp; Destinatario</TD>
               </TR>
        </TABLE>
		</page_header>
        
<?php     include('IMPREcartas.PHP');   ?>
</page>        
<?php


$content_html = ob_get_clean();
require_once('html2pdf/html2pdf.class.php'); 
try
{
$html2pdf = new HTML2PDF('l','A4','es', false, 'ISO-8859-15', array(0, 0, 0, 0));
$html2pdf->writeHTML($content_html, isset($_GET['vuehtml']));
$html2pdf->Output('icronoCartas.pdf');
}
catch(HTML2PDF_exception $e) { echo $e; }
$contenido_extra=file_get_contents();
?>